package ballFinder.environment;

import java.io.File;

import lejos.nxt.Sound;

public class Music {
	public static void playR2D2(boolean immidiateReturn) {
		int duration = Sound.playSample(new File("R2D2.wav"));
		if(!immidiateReturn){
			try {
				Thread.sleep(duration);
			} catch (Exception e){
			}
		}
	}
}
